Argument Macros
The following macros can be used in Argument field in User Tools page of the Preferences dialog box.

MacroDescription
$(FilePath)Inserts file name of current document with full path.
$(FileDir)Inserts full path of current document without the file name.
$(DirWin)Inserts the directory name displayed on the Directory Window.
$(FileName)Inserts file name of current document without path.
$(FileNameNoExt)Inserts file name of current document without path and extension.
$(FileExt)Inserts file extension of current document.
$(FilePathNoDrv)Inserts current file name and full path except the drive name.
$(FileDirNoDrv)Inserts full path of current document without the file name and the drive name.
$(ProjectName)Inserts current project name.
$(AppDir)Inserts the directory of EditPlus application.
$(CurLine)Inserts current line number where the cursor is located.
$(CurCol)Inserts current column index where the cursor is located.
$(CurSel)Inserts selected text.
$(CurWord)Inserts current word.
$(CurLineText)Inserts current line text.
$(Copy)Copies selected text to the Clipboard.
$(Prompt)Displays dialog box for entering custom argument.
$(WindowList)Displays Window List dialog box and select desired file name.
$(Unicode)Uses Unicode encoding for standard input and output.
$(UTF8)Uses UTF-8 encoding for standard input and output.
$(Ansi)Uses system default Windows code page for standard input and output.